package org.balabala.user.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * 
 * @author hanshanxi
 * @email 3176988793@qq.com
 * @date 2021-09-04 09:31:53
 */
@Data
@TableName("comment")
public class CommentEntity implements Serializable {
	private static final long serialVersionUID = 1L;

    @TableId(value = "id",type = IdType.INPUT)
	private Integer id;
	/**
	 * 
	 */

	private Long commentId;
	/**
	 * 
	 */
	private Long uid;
	/**
	 * 
	 */
	private Long videoId;
	/**
	 * 评论内容
	 */
	private String commentContent;
	/**
	 * 评论时间
	 */
	private Date markTime;

	@TableField(exist = false)
    private VideoEntity videoEntity;

}
